import {getList} from "@/api/system/export";
export default {
  // hasCheck: true,
  hasIndex: true,
  hasPage: true,
  request: (params) => {
    return getList(params)
  },
  dataParse: (res) => {
    const resData = res.data.data || []
    const data = {
      list: resData.rows,
      total: resData.total
    }
    return data
  },
  columns: [
    {
      prop: 'userName',
      label: '操作人',
    },
    {
      prop: 'createTime',
      label: '导出时间',
    },
    {
      prop: 'workTypeName',
      label: '导出类型',
    },
  ]
}